local extension = Package:new("ling_jin")
extension.extensionName = "lingling"

extension:loadSkillSkelsByPath("./packages/lingling/pkg/ling_9_jin/skills")

local liuyuan = General:new(extension, "lingling__liuyuan", "han", 4)
table.insert(Fk.lords, "lingling__liuyuan")
liuyuan:addSkills { "lingling__xiongtu", "lingling__qiongbing" }
liuyuan.endnote = "<br><font color='#a40000'>自古夷狄为中国患者有矣，未闻入而帝中国也者，有之，自元海始。"
Fk:loadTranslationTable{
  ["lingling__liuyuan"] = "刘渊",
  ["#lingling__liuyuan"] = "假汉怀望",
  ["designer:lingling__liuyuan"] = "伶",
}

local shihu = General:new(extension, "lingling__shihu", "zhao", 6)
table.insert(Fk.lords, "lingling__shihu")
shihu:addSkills { "lingling__baonve", "lingling__chuanfo" }
shihu.endnote = "<br><font color='#a40000'>兴宁寺上祷平安，猎辇座下征骸尸。"
Fk:loadTranslationTable{
  ["lingling__shihu"] = "石虎",
  ["#lingling__shihu"] = "一柱殿下",
  ["designer:lingling__shihu"] = "伶",
}

local ranmin = General:new(extension, "lingling__ranmin", "zhao", 5)
ranmin.subkingdom = "wei"
table.insert(Fk.lords, "lingling__ranmin")
ranmin:addSkills { "lingling__xingfeng" }
ranmin.endnote = "<br><font color='#a40000'>乱世苍生苦似囚，两脚羊悲岁月愁。<br>白骨盈野无人问，血泪流干恨未休。"
Fk:loadTranslationTable{
  ["lingling__ranmin"] = "冉闵",
  ["#lingling__ranmin"] = "武悼天王",
  ["designer:lingling__ranmin"] = "伶",
}

local huanwen = General:new(extension, "lingling__huanwen", "jin", 4)
huanwen:addSkills { "lingling__weijingh", "lingling__dongliu" }
huanwen.endnote = "<br><font color='#a40000'>既不能流芳后世，不足复遗臭万载邪！"
Fk:loadTranslationTable{
  ["lingling__huanwen"] = "桓温",
  ["#lingling__huanwen"] = "游蛟射主",
  ["designer:lingling__huanwen"] = "瑜瑾＆汤圆＆伶",
}

local wangmeng = General:new(extension, "lingling__wangmeng", "qin", 3)
wangmeng:addSkills { "lingling__jigong", "lingling__houding" }
wangmeng.endnote = "<br><font color='#a40000'>扪虱倾谈惊四座，持螯下酒话当年。"
Fk:loadTranslationTable{
  ["lingling__wangmeng"] = "王猛",
  ["#lingling__wangmeng"] = "谋盖武侯",
  ["designer:lingling__wangmeng"] = "伶",
}

local fujian = General:new(extension, "lingling__fujian", "qin", 4)
fujian:addSkills { "lingling__zhisheng", "lingling__mingyong", "lingling__ziluan" }
fujian.endnote = "<br><font color='#a40000'>吾虽未为令主，亦非暗劣。</font>"
Fk:loadTranslationTable{
  ["qin"] = "秦",
  ["lingling__fujian"] = "苻坚",
  ["#lingling__fujian"] = "功败垂成",
  ["designer:lingling__fujian"] = "伶",
}

local murongke = General:new(extension, "lingling__murongke", "yan", 4)
murongke.shield = 4
murongke:addSkills { "lingling__youdi", "lingling__tiefutu" }
murongke.endnote = "<br><font color='#a40000'>偿恪而不死，更得明主事之，与吴王垂左提右挈，驱驾才俊，混一之业，指顾而定矣！</font>"
Fk:loadTranslationTable{
  ["yan"] = "燕",
  ["lingling__murongke"] = "慕容恪",
  ["#lingling__murongke"] = "古之遗爱",
  ["designer:lingling__murongke"] = "伶",
}

return extension
